package com.mobile.business.grid;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

import org.hibernate.LockMode;
import org.hibernate.criterion.DetachedCriteria;
import org.hibernate.criterion.Order;

import com.mobile.dao.IBaseDAO;
import com.mobile.dao.grid.base.hibernate.BaseHibernateDAO;
import com.mobile.gridUtil.FilterBean;
import com.mobile.gridUtil.GridFilter;
import com.mobile.struts.action.tools.AssociateTableInfo;
import com.mobile.tools.PageBean;

/**
 * 基础业务类，每个具体业务类不需继承此类
 * @author hf
 *
 */
public class BaseHibernateBusiness implements IBaseBusiness{

	public PageBean getPageBean(int start, int pageSize, Object pojo,
			Map<String, FilterBean> map, List<AssociateTableInfo> list) {
		// TODO Auto-generated method stub
		return null;
	}

	public List getAllList(Class cl, List<GridFilter> gridFilterList) {
		// TODO Auto-generated method stub
		return null;
	}

	public List findByExample(Object o) {
		// TODO Auto-generated method stub
		return null;
	}

	public List getAllList(Class cl, Map<String, FilterBean> map) {
		// TODO Auto-generated method stub
		return null;
	}

	public List getAllList(Object pojo, List<GridFilter> gridFilterList) {
		// TODO Auto-generated method stub
		return null;
	}

	public List getAllList(Object pojo, Map<String, FilterBean> map) {
		// TODO Auto-generated method stub
		return null;
	}

	public PageBean getPageBean(int start, int pageSize, Object pojo,
			Map<String, FilterBean> map) {
		// TODO Auto-generated method stub
		return null;
	}

	public PageBean getPageRecord(int start, int pageSize, Object pojo,
			List<GridFilter> gridFilterList) {
		// TODO Auto-generated method stub
		return null;
	}

	public void mergeCollection(Collection entities) {
		// TODO Auto-generated method stub
		
	}

	public void mergeCollection(String entityName, Collection entities) {
		// TODO Auto-generated method stub
		
	}

	public void saveCollection(Collection entities) {
		// TODO Auto-generated method stub
		
	}

	public void saveCollection(String entityName, Collection entities) {
		// TODO Auto-generated method stub
		
	}

	public void deleteById(Class clazz, String uniqueCode) {
		// TODO Auto-generated method stub
		
	}

	public void deleteById(Class clazz, String[] uniqueCodes) {
		// TODO Auto-generated method stub
		
	}

	public Object mergeNotNull(String uniqueCode,Object entity) {
		// TODO Auto-generated method stub
		return null;
	}

	public Object get(Class entityClass, Serializable id, LockMode lockMode) {
		// TODO Auto-generated method stub
		return null;
	}

	public Object get(Class entityClass, Serializable id) {
		// TODO Auto-generated method stub
		return null;
	}

	public Object get(String entityName, Serializable id, LockMode lockMode) {
		// TODO Auto-generated method stub
		return null;
	}

	public Object get(String entityName, Serializable id) {
		// TODO Auto-generated method stub
		return null;
	}

	public Object load(Class entityClass, Serializable id, LockMode lockMode) {
		// TODO Auto-generated method stub
		return null;
	}

	public Object load(Class entityClass, Serializable id) {
		// TODO Auto-generated method stub
		return null;
	}

	public void load(Object entity, Serializable id) {
		// TODO Auto-generated method stub
		
	}

	public Object load(String entityName, Serializable id, LockMode lockMode) {
		// TODO Auto-generated method stub
		return null;
	}

	public Object load(String entityName, Serializable id) {
		// TODO Auto-generated method stub
		return null;
	}

	public List getAllList(Object pojo) {
		// TODO Auto-generated method stub
		return null;
	}

	protected IBaseDAO bDAO=new BaseHibernateDAO();

	public IBaseDAO getBDAO() {
		return bDAO;
	}

	public void setBDAO(IBaseDAO bdao) {
		bDAO = bdao;
	}

	public void delete(Object entity, LockMode lockMode) {
		// TODO Auto-generated method stub
	}

	public void delete(Object entity) {
		// TODO Auto-generated method stub
		
	}

	public void delete(String entityName, Object entity, LockMode lockMode) {
		// TODO Auto-generated method stub
		
	}

	public void delete(String entityName, Object entity) {
		// TODO Auto-generated method stub
		
	}

	public void deleteAll(Collection entities) {
		// TODO Auto-generated method stub
		
	}

	public Object merge(Object entity) {
		// TODO Auto-generated method stub
		return null;
	}

	public Object merge(String entityName, Object entity) {
		// TODO Auto-generated method stub
		return null;
	}

	public String save(Object o) {
		// TODO Auto-generated method stub
		return null;
	}

	public String save(String entityName, Object entity) {
		// TODO Auto-generated method stub
		return null;
	}

	public void saveOrUpdate(Object entity) {
		// TODO Auto-generated method stub
		
	}

	public void saveOrUpdate(String entityName, Object entity) {
		// TODO Auto-generated method stub
		
	}

	public void saveOrUpdateAll(Collection entities) {
		// TODO Auto-generated method stub
		
	}

	public void update(Object entity, LockMode lockMode) {
		// TODO Auto-generated method stub
		
	}

	public void update(Object entity) {
		// TODO Auto-generated method stub
		
	}

	public void update(String entityName, Object entity, LockMode lockMode) {
		// TODO Auto-generated method stub
		
	}

	public void update(String entityName, Object entity) {
		// TODO Auto-generated method stub
		
	}

	public List findByExample(Object o, String[] orders) {
		// TODO Auto-generated method stub
		return null;
	}

	public Object findById(Class clazz, String id) {
		// TODO Auto-generated method stub
		return null;
	}

	public List findByCriteria(DetachedCriteria criteria, int firstResult,
			int maxResults) {
		// TODO Auto-generated method stub
		return null;
	}

	public List findByCriteria(DetachedCriteria criteria) {
		// TODO Auto-generated method stub
		return null;
	}

	public Object queryForList(String statementName) {
		// TODO Auto-generated method stub
		return null;
	}
	
	public List findByExample(Object o, List<Order> orders) {
		// TODO Auto-generated method stub
		return null;
	}
}
